/* 声明字体图标  这里一定要注意路径的变化*/

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?hfw5k5');
    src: url('../fonts/icomoon.eot?hfw5k5#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?hfw5k5') format('truetype'), url('../fonts/icomoon.woff?hfw5k5') format('woff'), url('../fonts/icomoon.svg?hfw5k5#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}


/* 版心 */

.w {
    width: 1200px;
    margin: 0 auto;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.style_red {
    color: #c81623;
}

span {
    color: #fff;
}


/* 快捷导航模块 */

.shortcar {
    height: 31px;
    line-height: 31px;
    background-color: #eef1ee;
}

.shortcar ul li {
    float: left;
}

.shortcar .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    background-color: #666;
    margin: 9px 15px 0;
}

.arrow-icon::after {
    content: '\e908';
    font-family: 'icomoon';
    margin-left: 6px;
}


/* header头部模块制作 */

.header {
    position: relative;
    height: 105px;
}

.logo {
    position: absolute;
    top: 25px;
    width: 171px;
    height: 61px;
}

.logo a {
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
    /* 京东做法 */
    /* font-size: 0; */
    /* 淘宝做法 首行缩进 让文字隐藏*/
    text-indent: -9999px;
    overflow: hidden;
}


/* search搜索模块 */

.search {
    position: absolute;
    left: 346px;
    top: 25px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}

.search input {
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px;
}

.search button {
    float: left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
    font-size: 16px;
    color: #fff;
}


/* hotwords模块制作 */

.hotwords {
    position: absolute;
    top: 66px;
    left: 346px;
}

.hotwords a {
    margin: 0 10px;
}


/* shopcar模块制作 */

.shopcar {
    position: absolute;
    top: 25px;
    right: 63px;
    width: 140px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #bfbfbf;
    background-color: #f7f7f7;
}

.shopcar::before {
    content: '\e93a';
    font-family: 'icomoon';
    margin-right: 5px;
    color: #c81623;
}

.shopcar::after {
    content: '\e90a';
    font-family: 'icomoon';
    margin-left: 10px;
    vertical-align: middle;
}

.shopcar .count {
    position: absolute;
    top: -4px;
    left: 98px;
    height: 14px;
    line-height: 14px;
    color: #fff;
    padding: 0 5px;
    background-color: #c81623;
    border-radius: 7px 7px 7px 0;
}


/* nav模块制作 */

.nav {
    height: 47px;
    border-bottom: 2px solid #b1191a;
}

.nav .dropdown {
    float: left;
    width: 210px;
    height: 45px;
    background-color: #b1191a;
}

.nav .navitems {
    float: left;
}

.dropdown .dt {
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    line-height: 45px;
    font-size: 16px;
}

.dropdown .dd {
    /* 隐藏dd */
    /* display: none; */
    width: 210px;
    height: 465px;
    background-color: #c81623;
    margin-top: 2px;
}

.dropdown .dd ul li {
    position: relative;
    height: 31px;
    line-height: 31px;
    padding-left: 10px;
    margin-left: 2px;
}

.dropdown .dd ul li:hover {
    background-color: #fff;
}

.dropdown .dd ul li::after {
    position: absolute;
    top: 1px;
    right: 10px;
    color: #fff;
    font-family: 'icomoon';
    content: '\e90e';
    font-size: 14px;
}

.dropdown .dd ul li a {
    font-size: 14px;
    color: #fff;
}

.dropdown .dd ul li:hover a {
    color: #c81623;
}

.dropdown .dd ul li:hover span {
    color: #c81623;
}

.dropdown .dd ul li:hover::after {
    color: #c81623;
}


/* navitems模块 */

.navitems {
    margin-left: 16px;
}

.navitems ul li {
    float: left;
}

.navitems ul li a {
    display: block;
    height: 45px;
    line-height: 45px;
    padding: 0 25px;
    font-size: 16px;
}


/* 底部模块的制作 */

.footer {
    height: 415px;
    background-color: #f5f5f5;
    padding-top: 30px;
}

.mod_service {
    height: 80px;
    border-bottom: 1px solid #ccc;
}

.mod_service ul li {
    float: left;
    width: 240px;
    height: 50px;
    padding-left: 35px;
}

.mod_service ul li h5 {
    float: left;
    width: 50px;
    height: 50px;
    background: url(../images/icons.png) no-repeat;
    margin-right: 8px;
}

.mod_service ul li .h5_f1 {
    background-position: -253px -3px;
}

.mod_service ul li .h5_f2 {
    background-position: -254px -54px;
}

.mod_service ul li .h5_f3 {
    background-position: -257px -106px;
}

.mod_service ul li .h5_f4 {
    background-position: -258px -157px;
}

.mod_service ul li .h5_f5 {
    background-position: -257px -209px;
}

.service_txt h4 {
    font-size: 14px;
}

.service_txt p {
    font-size: 12px;
}

.mod_help {
    height: 185px;
    border-bottom: 1px solid #ccc;
    padding-top: 20px;
    padding-left: 50px;
}

.mod_help dl {
    float: left;
    width: 200px;
}

.mod_help dl:last-child {
    width: 90px;
    text-align: center;
}

.mod_help dl dt {
    font-size: 16px;
    margin-bottom: 10px;
}

.mod_copyright {
    text-align: center;
    padding-top: 20px;
}

.links {
    margin-bottom: 15px;
}

.links a {
    margin: 0 3px;
}

.copyright {
    line-height: 20px;
}